import { ConfigProvider } from "antd";
import { Outlet } from "umi";
import dayjs from "dayjs";
import zhCN from "antd/es/locale/zh_CN";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");

import FeedbackHeader from "./components/feedback.header";

const MainLayout = () => {
	return (
		<ConfigProvider locale={zhCN}>
			<FeedbackHeader />
			<Outlet />
		</ConfigProvider>
	);
};

export default MainLayout;
